<?php

/**
 * @package Core
 * @author superx
 */
class Core_Validator_Url implements Core_Validator_Interface {

    public function isValid($url) {
        return preg_match('|^http(s)?://[a-z0-9-]+(.[a-z0-9-]+)*(:[0-9]+)?(/.*)?$|i', $url);
    }
}
